<HTML>
<HEAD>
<TITLE>Software for Acorn RISCOS</TITLE>
</HEAD>
<BODY bgcolor=white text=black LINK="#0000FF" VLINK="#8700BA" ALINK="#FF0000">
<H1 ALIGN=centre><IMG SRC="images/logo.jpg"> Samba Server for RISCOS - FAQ <IMG SRC="images/logo.jpg"></H1>
<P>                                   
<OL>
<LI><A HREF="#FAQ1">My PC cannot see the Acorn machine, what name should I use?</A>
<LI><A HREF="#FAQ2">When I run the ANT suite and then !smbserver the machine hangs?</A>
<LI><A HREF="#FAQ3">When I print from the PC I get the error "Unable to print, unknown system error"?<BR>
I am having trouble printing with !smbserver</A>
<LI><A HREF="#FAQ4">I am having difficulty running !smbserver on RISCOS 3.1</A>  
<LI><A HREF="#FAQ5">I am having difficulty extracting the archive.</A>
<LI><A HREF="#FAQ6">Can I run without an icon on the icon bar?</A>
<LI><A HREF="#FAQ7">On the client some files appear mangled with a ~ character?</A>
<LI><A HREF="#FAQ8">Why do jpeg files appear in windows with an extension of jpe?</A>
</OL> 
<P>                                  
<HR>
<B><A NAME="FAQ1">1. My PC cannot see the Acorn machine, what name should I use?</A></B><P> 
<P>
On windows goto c:\windows. Copy hosts.sam and lmhosts.sam as hosts and lmhosts.
Add an entry in both files for your RiscPc. e.g.
<PRE>192.1.2.3  RiscPcName</PRE>
Where 192.1.2.3 is the IP address of your RiscPc. You should now be able to
see the Acorn machine from Windows by typing \\RiscPcName in Explorer.<P>

On Linux add an entry for your Acorn machine in /etc/hosts and /etc/lmhosts.<P>
                                                                    
<HR>
<B><A NAME="FAQ2">2. When I run the ANT suite and then !smbserver the machine hangs?</A></B><P>
<P> With ANT running, look at the variable InetDBase$Path. Add a
line for your Acorn machine in the hosts file this is pointing at
in the same format as specified for the hosts files in FAQ1.<P>
<P>                                                                     
<HR>
<B><A NAME="FAQ3">3. When I print from the PC I get the error "Unable to print, unknown system error"?
I am having troubler printing with !smbserver</A></B><P>
<P>
Edit the properties of the printer. Under the "details" tab click "Capture Printer Port".
In the dialogue that pops up select a device e.g. LPT2 and enter a path. e.g.
\\MyRiscPc\printers. You should now be able to print.<P>
<P>                                            
<HR>
<B><A NAME="FAQ4">4. I am having difficulty running !smbserver on RISCOS 3.1</A></B>.<P>
<P>
On RISCOS 3.1, 3.5 and 3.6 you need the module CallASWI which can
be found on <A HREF="http://www.micros.hensa.ac.uk/">HENSA</A> in system/callawsi.zip. (Don't forget that
HENSA is mirrored at <A HREF="http://sunsite.doc.ic.ac.uk/">SUNSITE</A> under <A HREF="http://sunsite.doc.ic.ac.uk/Mirrors/micros.hensa.ac.uk/local/riscos/">riscos</A>.) Also on RISCOS 3.1 you need
different sprite files. This is fixed in version 0.02. 
<HR>
<B><A NAME="FAQ5">5. I am having difficulty extracting the archive.</A></B><P>
Use !sparkplug to decode the archive. The archive on my website does extract happlily with the latest version of !sparkplug which is <A HREF="http://www.netlink.co.uk/users/pilling/soft.html">here</A>.
<P>
Some downloading programs mistakenly download the archive as a text file instead of a binary file. This means they convert &lt;LF> to &lt;CR> &lt;LF> thus corrupting the archive. This operation is not reversable. Try downloading the zip file instead.<P><HR>
<B><A NAME="FAQ6">6. Can I run without an icon on the icon bar?</A></B><P>
Yes, used the command line option -nobarion e.g. In !smbserver.!run
<PRE>
*run &lt;samba$Dir>.!RunImage -nobaricon %*0
</PRE>  
<P>
<HR> 
<B><A NAME="FAQ7">7. On the client some files appear mangled with a ~ character?</A></B><P>
File names longer than 8 characters are mangled by Samba to produce a unique 8 character name. The ~ shows that the name is mangled name. The client can use both the real name and the mangled name to refer to the file.<P>
<P>
<HR> 
<B><A NAME="FAQ8">8. Why do jpeg files appear in windows with an extension of jpe?</A></B><P>
!smbserver uses the Mimemap module to map filetypes to file extensions. You need to edit the
file &lt;InetDBase$Path>.MimeMap. Change the following line:
<PRE>
image/jpeg		JPEG		c85	.jpeg	.jpg	.jfif 	.jpe
</PRE>
to
<PRE>
image/jpeg		JPEG		c85	.jpg	.jpeg	.jfif 	.jpe
</PRE>
<P>Make a similar change for image/mpeg and any entry where a four letter extension appears before a three letter extension and the first 3 letters of the extensions are not the same (e.g. mpg and mpeg). When long file name support arrives this should no longer be a problem.
<P>
<HR>
<A HREF="samba.htm">Back to Samba.</A>
<P>
</BODY>
</HTML>